home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 4
/
Mac Giga-ROM 4.0 - 1993.toast
/
FILES
/
UTI
/
I-M
/
MemPhone.cpt
/
MemoryPhone
/
background_2771.txt
< prev
next >
Wrap
Text File
|
1989-07-17
|
27KB
|
1,122 lines
-- background: 2771 from stack: in
-- bmap block id: 2442
-- flags: 4000
-- background id: 0
-- name: Memdialer
----- HyperTalk script -----
On Dodial TheNum
Put msg into MScrap
Put "Now Dialing "&TheNum&"." into msg
if field "Option Field" is "Tone Dial With Modem" then
dial quote&TheNum"e with modem
else if field "Option Field" is "Tone Dial w\o Modem" then
dial quote&TheNum"e
else if field "Option Field" is "Pulse Dial With Modem" then
dial quote&TheNum"e with modem "ATS0=DP"
end if
Put MScrap into msg
hide msg
end DoDIal
function ReturnBetter BadStart
Put line 1 of BadStart into BadName
Put line 2 of BadStart into BadNumber
Ask "Enter New Name" with BadName
if it is not empty then Put it into line 1 of BadStart
Ask "Enter New Number" with BadNumber
if it is not empty then Put it into line 2 of BadStart
return BadStart
end ReturnBetter
on AddToRepeat Number
repeat with l=1 to 10
Put "Redial"&l into holder
if number is bkgnd field holder then exit AddToRepeat
end repeat
repeat with q=10 down to 2
put bkgnd field ("Redial"&q-1) into bkgnd field ("Redial"&q)
end repeat
Put number into bkgnd field "Redial1"
end AddToRepeat
On ItsAField NumberChosen
Put short name of field id numberchosen into d
if field id numberchosen is empty then
if not (d contains "Redial") then
ask "What is this persons name?"
if it is empty then exit to hypercard
Put it into line 1 of HisAnswer
ask "What is this persons number?"
if it is empty then exit to hypercard
Put it into line 2 of HisAnswer
Put HisAnswer into field id numberchosen
end if
else if the shiftkey is down then
if not(d contains "Redial") then
Answer "Take which action with this number?" with "Clear" or "Alter" or "Cancel"
if it is "Alter" then
Put ReturnBetter(field id numberchosen) into field id numberchosen
else if it is "Clear" then
Put "" into field id numberchosen
end if
end if
else
Put line 2 of field id numberchosen into thenumber
DoDIal TheNumber
if not (d contains "Redial") then
AddToRepeat field id NumberChosen
end if
end if
end ItsAField
On NewDirectory BtnId
ask "Name the new directory."
if it is "" then exit to hypercard
Put it into newname
set lockmessages to true
Set the name of bkgnd btn id BtnId to newname
Put short name of this card into WhereWas
Set Hilite of bkgnd button WhereWas to false
Set Hilite of bkgnd button newname to true
Put field "Option Field" into holder
Type "N" with Commandkey
set the name of this card to newname
Put newname into bkgnd field cardname
Put holder into field "Option Field"
Put "Commands" into field "Clear Menu"
end NewDirectory
On ItsAButton TheId
Put the short name of bkgnd button id TheId into LL
lock screen
if LL is "Unused" then
NewDirectory(TheId)
else
put LL into wheretogo
go to card wheretogo
end if
unlock screen with dissolve
end ItsAButton
on opencard
Put short name of this card into WhereWas
Set Hilite of bkgnd button WhereWas to true
end opencard
on closecard
Put short name of this card into WhereWas
Set Hilite of bkgnd button WhereWas to false
end closecard
on mouseup
global justdoubled
if Justdoubled is true then
Put false into JustDoubled
else
Put the name of the target into h
if h contains "bkgnd field" then
if (h contains "cardname" or h contains "Option Field" or h contains "Clear Menu") then exit mouseup
ItsAField (id of the target)
else if h contains "bkgnd button" then
ItsAButton (id of the target)
end if
end if
end mouseup
on mousedown
global justdoubled
Put the name of the target into SN
if SN contains "bkgnd field" and the optionkey is down and not (SN contains "CardName") then
Put the id of the target into SN
put field id SN into TF
Put line 2 of TF into field id SN
wait until the mouse is up
Put TF into field id SN
Put true into Justdoubled
end if
end mousedown
-- part 32 (field)
-- low flags: 01
-- high flags: 0001
-- rect: left=152 top=314 right=331 bottom=377
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 130
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name: Cardname
-- part 97 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=68 top=94 right=106 bottom=157
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Redial5
-- part 98 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=68 top=81 right=93 bottom=157
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Redial4
-- part 99 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=68 top=68 right=80 bottom=157
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Redial3
-- part 100 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=68 top=55 right=67 bottom=157
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Redial2
-- part 101 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=68 top=42 right=54 bottom=157
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Redial1
-- part 128 (field)
-- low flags: 01
-- high flags: 0004
-- rect: left=287 top=58 right=77 bottom=446
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Option Field
----- HyperTalk script -----
on mousedown
Put "Tone Dial With Modem,Tone Dial w\o Modem,Pulse Dial With Modem" into itemlist
Put 1 into firstchoice
Put me into tosend
repeat with x=1 to 3
if tosend is item x of itemlist then
Put x into firstchoice
exit repeat
end if
end repeat
Put the rect of me into myrect
Put item 2 of myrect into MyTop
Put item 1 of myrect+3 into MyLeft
Put PopUpList(itemlist,firstchoice,MyLeft,MyTop) into TheChoice
if TheChoice > 0 then Put Item thechoice of itemlist into me
end mousedown
-- part 129 (field)
-- low flags: 01
-- high flags: 0004
-- rect: left=161 top=58 right=77 bottom=256
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Clear Menu
----- HyperTalk script -----
on changename
Put the short name of this card into OldName
Ask "Enter the New Name for this directory" with OldName
If it is not empty then
Put it into NewName
Put NewName into field "CardName"
set name of bkgnd btn oldname to newname
set the name of this card to NewName
end if
end changename
on Doclear
lock screen
repeat with x =1 to number of fields
if field x is not empty then
put the short name of field x into g
if not((g contains "Option") or (g contains "Clear") or (g contains "Cardname")) then
put "" into field x
end if
end if
end repeat
unlock screen with dissolve slow
end Doclear
On RemoveDir
set cursor to 4
Lock Screen
Put field cardname into holder
Put the userlevel into SavedLevel
Set the Userlevel to 5
DoMenu "Delete Card"
set the hilite of bkgnd button holder to false
set the name of bkgnd button holder to "Unused"
Set the userlevel to Savedlevel
Put short name of this card into Cardleft
Set hilite of bkgnd button CardLeft to true
unlock screen with dissolve slow
end RemoveDir
on DoSFHelp
set cursor to 4
Put msg into MScrap
Put "This allows for Memoryphone users to easily upgrade.(click)" into msg
wait until the mouseclick
Put "It can only import from previous versions of MemoryPhone.(click)"
wait until the mouseclick
Put "Change the name on your old stack to “Old MemPhone”.(click)"
wait until the mouseclick
Put "Then reselect “Auto-Update”,but do not opt for help.(click)"
wait until the mouseclick
Put "Sit back and let Hypercard do the work!!(click)"
wait until the mouseclick
Put MScrap into msg
hide msg
end DoSFHelp
on Importer
Answer "Sure you know how “Auto-Update” works?" with "No,Help!!" or "Yes"
if it is "No,Help!!" then
DoSFHelp
exit importer
end if
Put "CName" into WhyHere
Push Card
go to "Old MemPhone"
if the short name of this stack is "MemoryPhone" then
Answer "AutoUodate did not work."
exit importer
else
Put the number of cards into CardNum
Put 0 into z
repeat with x=1 to CardNum
Put 0 into F
go to card x
Put the number of fields into FieldNum
Put field "CardName" into line x of TheCdNames
repeat with y=1 to FieldNum
if field y is not empty then
put short name of field y into t
if not ((t contains "Redial") or (t contains "CardName") or (t contains "Option Field") or (t contains "Clear Menu")) then
add 1 to z
add 1 to F
put line 1 of field y into line z of Names
put line 2 of field y into line z of Numbers
end if
end if
end repeat
put F into item x of FldNumList
put 0 into F
end repeat
end if
pop card
push card
Put number of cards into NewCardNum
if 7-NewCardNum<CardNum then
Answer "This stack will not hold that stack"
else
go to card NewCardNum
Put 0 into z
set lockmessages to true
repeat with x=1 to CardNum
DoMenu "New Card"
Put "Commands" into field "Clear Menu"
Put "Tone Dial w\o Modem" into field "Option Field"
Put line x of TheCdNames into field "CardName"
Set name of bkgnd button "Unused" to line x of TheCdNames
Set name of this card to line x of TheCdNames
put 0 into tru
put item x of FldNumList into GH
Repeat with y=1 to GH
add 1 to z
Put false into doone
repeat while not doone
add 1 to tru
put short name of field tru into t
if not ((t contains "Redial") or (t contains "CardName") or (t contains "Option Field") or (t contains "Clear Menu")) then
put line z of Names into line 1 of field tru
put line z of Numbers into line 2 of field tru
put true into doone
end if
end repeat
end repeat
end repeat
end if
pop card
end importer
on mousedown
Put the rect of me into myrect
Put item 4 of myrect into MyTop
Put item 1 of myrect+1 into MyLeft
Put "Clear Directory…,Clear All Directories…" into choicer
Put ",Rename Directory…,Remove Directory…" after choicer
Put ",Auto Upgrade…" after choicer
Put PopUpList(choicer,1,MyLeft,MyTop) into TheChoice
if TheChoice is 0 then exit to hypercard
if TheChoice is 1 then
answer "Sure you want to empty this directory?" with "No" or "Yes"
if it is "Yes" then
set cursor to 4
Doclear
end if
else if thechoice is 2 then
answer "Sure you want to empty all directorys?" with "Not Sure" or "Yes,I'm Sure"
if it is "Yes,I'm Sure" then
set cursor to 4
repeat with y=1 to number of cards
go to card y
Doclear
end repeat
end if
else if thechoice is 3 then
ChangeName
else if thechoice is 4 then
answer "Sure you want to remove this directory?" with "No, No" or "Yes, I'm Sure"
if it is "Yes, I'm Sure" then
RemoveDir
end if
else if thechoice is 5 then
Importer
end if
end mousedown
-- part 138 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=68 top=107 right=119 bottom=157
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Redial6
-- part 140 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=68 top=120 right=132 bottom=157
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Redial7
-- part 158 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=68 top=133 right=145 bottom=157
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Redial8
-- part 159 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=68 top=146 right=158 bottom=157
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Redial9
-- part 161 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=68 top=159 right=171 bottom=157
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Redial10
-- part 173 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=304 top=79 right=95 bottom=446
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 175 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=160 top=79 right=95 bottom=302
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 176 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=160 top=97 right=113 bottom=302
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 177 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=304 top=97 right=113 bottom=446
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 178 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=160 top=115 right=131 bottom=302
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 179 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=304 top=115 right=131 bottom=446
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 180 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=160 top=133 right=149 bottom=302
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 181 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=304 top=133 right=149 bottom=446
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 182 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=160 top=151 right=167 bottom=302
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 183 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=304 top=151 right=167 bottom=446
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 184 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=160 top=169 right=185 bottom=302
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 185 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=304 top=169 right=185 bottom=446
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 186 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=160 top=187 right=203 bottom=302
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 187 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=304 top=187 right=203 bottom=446
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 188 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=160 top=205 right=221 bottom=302
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 189 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=304 top=205 right=221 bottom=446
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 190 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=160 top=223 right=239 bottom=302
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 191 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=304 top=223 right=239 bottom=446
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 192 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=160 top=241 right=257 bottom=302
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 193 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=304 top=241 right=257 bottom=446
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 194 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=160 top=259 right=275 bottom=302
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 195 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=304 top=259 right=275 bottom=446
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 196 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=160 top=277 right=293 bottom=302
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 197 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=304 top=277 right=293 bottom=446
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 198 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=160 top=294 right=310 bottom=302
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 199 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=304 top=294 right=310 bottom=446
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 256
-- line height: 16
-- part name:
-- part 200 (button)
-- low flags: 00
-- high flags: 8002
-- rect: left=457 top=21 right=64 bottom=503
-- title width / last selected line: 0
-- icon id / first selected line: 1017 / 1017
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Personal
-- part 202 (button)
-- low flags: 00
-- high flags: 8002
-- rect: left=457 top=113 right=156 bottom=503
-- title width / last selected line: 0
-- icon id / first selected line: 1017 / 1017
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Unused
-- part 203 (button)
-- low flags: 00
-- high flags: 8002
-- rect: left=457 top=159 right=202 bottom=503
-- title width / last selected line: 0
-- icon id / first selected line: 1017 / 1017
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Unused
-- part 204 (button)
-- low flags: 00
-- high flags: 8002
-- rect: left=457 top=205 right=248 bottom=503
-- title width / last selected line: 0
-- icon id / first selected line: 1017 / 1017
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Unused
-- part 205 (button)
-- low flags: 00
-- high flags: 8002
-- rect: left=457 top=251 right=294 bottom=503
-- title width / last selected line: 0
-- icon id / first selected line: 1017 / 1017
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Unused
-- part 206 (button)
-- low flags: 00
-- high flags: 8002
-- rect: left=457 top=297 right=340 bottom=503
-- title width / last selected line: 0
-- icon id / first selected line: 1017 / 1017
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Unused
-- part 207 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=68 top=172 right=309 bottom=157
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
ask "What number would you like to dial?"
if it is "" then exit mouseup
Put "Now Dialing "&it&"." into msg
DoDial it
hide msg
end mouseUp
-- part 208 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=8 top=78 right=128 bottom=60
-- title width / last selected line: 0
-- icon id / first selected line: 21700 / 21700
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Home
----- HyperTalk script -----
on mouseUp
visual effect dissolve slowly to black
visual effect dissolve
go to home
end mouseUp
-- part 209 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=8 top=186 right=236 bottom=60
-- title width / last selected line: 0
-- icon id / first selected line: 3430 / 3430
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Rolodex
----- HyperTalk script -----
on mouseUp
visual effect zoom open
go to stack "Address"
end mouseUp
-- part 210 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=8 top=132 right=182 bottom=60
-- title width / last selected line: 0
-- icon id / first selected line: 7232 / 7232
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: MemPhone
----- HyperTalk script -----
on mouseUp
if the short name of this stack is not "MemoryPhone" then
go to "MemoryPhone"
else
Answer "This button will install itself, shall we…" with "Cancel" or "Continue"
if it is "Continue" then
set cursor to 4
lock screen
put the userlevel into OldLevel
set the userlevel to 5
choose button tool
click at the loc of me
domenu "Copy Button"
choose browse tool
set the userlevel to OldLevel
Unlock Screen
Answer "Go to destination card and paste."
end if
end if
end mouseUp
on NewButton
Answer "Position this button with the mouse and click."
set the cursor to 4
repeat until the mouseclick
if the Loc of me<>the mouseloc then
set the loc of me to the Mouseloc
end if
end repeat
choose browse tool
end NewButton
-- part 211 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=68 top=26 right=41 bottom=157
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Redial Buffer
----- HyperTalk script -----
on mouseUp
if the shiftkey is down then
Answer "Do you wish to clear the redial buffer?" with "Cancel" or "OK"
if it is "OK" then
lock screen
repeat with x=1 to 10
Put "" into bkgnd field ("Redial"&x)
end repeat
unlock screen with dissolve slow
end if
end if
end mouseUp
-- part 212 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=8 top=24 right=74 bottom=60
-- title width / last selected line: 0
-- icon id / first selected line: 19678 / 19678
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: About…
----- HyperTalk script -----
on mouseUp
bringpict "About MemPhone","Version 2.60"
end mouseUp
-- part 213 (button)
-- low flags: 00
-- high flags: 8002
-- rect: left=457 top=66 right=109 bottom=503
-- title width / last selected line: 0
-- icon id / first selected line: 1017 / 1017
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Unused